
package cn.ad.model;

import org.apache.ibatis.type.Alias;

/**
 * 素材
 *
 * @author shirongkang
 */
@Alias("besMaterialModel")
public class BesMaterialModel {

	/**
	 * 素材类型
	 */
	private Integer adFormatId;

	/**
	 * 素材id
	 */
	private Integer materialId;
	/**
	 * height高
	 */
	private Integer height;
	/**
	 * width宽
	 */
	private Integer width;

	/**
	 * 针对视频素材的播放时长, 单位秒
	 */
	private Integer duration;

	/**
	 * 素材枚举类型 0 视频 1 图片 2 文本
	 */
	private Integer materialTypeId;

	/**
	 * 素材格式枚举类型 1-jpg 2-png 3-gif 4-text 5-mp4 6-flv
	 */
	private Integer materialFormat;

	/**
	 * 素材URL访问地址, 此地址会存在绝对地址和相对地址, 系统应根据实际情况匹配正确的URL地址输出
	 */
	private String materialUrl;

	/**
	 * 用于原生广告的文本内容
	 */
	private String materialText;

	/**
	 * 素材大小尺寸, 描述素材的宽高, 对应ad_size.id
	 */
	private Integer sizeId;

	/**
	 * 素材大小尺寸
	 */
	private String adSizeName;


	public Integer getAdFormatId() {
		return adFormatId;
	}

	public void setAdFormatId(Integer adFormatId) {
		this.adFormatId = adFormatId;
	}

	public Integer getMaterialId() {
		return materialId;
	}

	public void setMaterialId(Integer materialId) {
		this.materialId = materialId;
	}

	public Integer getDuration() {
		return duration;
	}

	public void setDuration(Integer duration) {
		this.duration = duration;
	}

	public Integer getMaterialTypeId() {
		return materialTypeId;
	}

	public void setMaterialTypeId(Integer materialTypeId) {
		this.materialTypeId = materialTypeId;
	}

	public Integer getMaterialFormat() {
		return materialFormat;
	}

	public void setMaterialFormat(Integer materialFormat) {
		this.materialFormat = materialFormat;
	}

	public String getMaterialUrl() {
		return materialUrl;
	}

	public void setMaterialUrl(String materialUrl) {
		this.materialUrl = materialUrl;
	}

	public String getMaterialText() {
		return materialText;
	}

	public void setMaterialText(String materialText) {
		this.materialText = materialText;
	}

	public Integer getSizeId() {
		return sizeId;
	}

	public void setSizeId(Integer sizeId) {
		this.sizeId = sizeId;
	}

	public Integer getHeight() {
		return height;
	}

	public void setHeight(Integer height) {
		this.height = height;
	}

	public Integer getWidth() {
		return width;
	}

	public void setWidth(Integer width) {
		this.width = width;
	}

	public String getAdSizeName() {
		return adSizeName;
	}

	public void setAdSizeName(String adSizeName) {
		this.adSizeName = adSizeName;
	}
}
